public class ExcepTest{

   public static void main(String args[]){
      try{
         int x=0;
         int y=10/x;
         int a[] = new int[2];
         System.out.println("Access element three :" + a[3]);
      }catch(Exception e){
         System.out.println("Exception thrown"+e);
      }
      System.out.println("Out of the block");
   }
}

